package vn.com.vega.chacha.v2.player;

import vn.com.vega.music.objects.Song;

interface IMediaPlaybackService {
	void openList(in List<Song> listSong, int position);
	void openSongAt(int position);
	long getDuration();
	long getPosition();
    Song getCurrentSong();
    int getIndexCurrentSong();
    List<Song> getCurrentListPlay();
    void setShufferMode(int shufferMode);
    void setRepeateMode(int repeateMode);
    int getShufferMode();
    int getRepeateMode();
    boolean isPlaying();
    void stop();
    void pause();
    void play();
    void prev();
    void next();
    void seek(long pos);
    void addToPlaylist(in Song songAdd, int position);
    void removeFromPlayList(int position);
    void setListSong(in List<Song> listSong);
    boolean insertToNowPlaying(in Song song);
    boolean insertListSongToNowPlaying(in List<Song> listSong);
    boolean playerIsInit();
}